package com.sharedlease.Feign;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sharedlease.entity.Product;
import com.sharedlease.entity.Shop_car;
import com.sharedlease.entity.R;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@Repository
public interface Shop_carClient extends BaseMapper<Shop_car> {
    public Shop_car getShop_carById(@PathVariable Long id);
    public List<Shop_car> getShop_carsByUid(@PathVariable Long uid);
    public List<Shop_car> getShop_carList();
    public R saveShop_car(@RequestBody Shop_car shop_car);
    public R deleteShop_carById(@RequestBody Shop_car shop_car);
    public R updateShop_carById(@RequestBody Shop_car shop_car);
}
